import {defineStore} from 'pinia'

export const useCountStore = defineStore('count', {
    actions:{
        increment(value:number){
            console.log('increment'+value);
            this.sum+=value;
            
        }
    },
    state: () => {
        return {
            sum: 6
        }
    }
})